from django.conf.urls import url

from . import views

urlpatterns = [
    # 获取订单页面路由
    url(r'^orders/settlement/$', views.OrderSettlementView.as_view()),
    # 提交订单路由
    url(r'^orders/commit/$', views.OrderCommitView.as_view()),
    # 下单成功路由
    url(r'^orders/success/$', views.OrderSuccessView.as_view()),
    # 获取订单页面路由
    url(r'^orders/info/(?P<page_num>\d+)/$', views.UserOrderInfoView.as_view(), name='info')
]
